<?php
namespace app\index\controller;
header('Access-Control-Allow-Origin:*');
header("Content-Type:text/html; charset=utf-8");
class Report extends \think\Controller
{
    public function inserts(){
        $report = new \app\common\model\Report();
        return json($report -> inserts());
    }
}